<!-- templates/index.html -->
{% extends 'base.html' %}

{% block content %}
    <h2>Webhook 事件</h2>
    <table>
        <thead>
            <tr>
                <th>时间戳</th>
                <th>消息内容</th>
            </tr>
        </thead>
        <tbody>
            {% for event in events %}
                <tr>
                    <td>{{ event.timestamp }}</td>
                    <td>{{ event.message }}</td>
                </tr>
            {% endfor %}
        </tbody>
    </table>
    <p>接收到的 Webhook 事件将显示在此页面。</p>
{% endblock %}
